// packing/unpacking tuples
#include <bits/stdc++.h>     // std::cout
using namespace std;

int main ()
{
  int myint;
  char mychar;

  tuple<int,float,char> mytuple;

  mytuple = make_tuple (10, 2.6, 'a');          // packing values into tuple

  tie (myint, ignore, mychar) = mytuple;   // unpacking tuple into variables

  cout << "myint contains: " << myint << '\n';
  cout << "mychar contains: " << mychar << '\n';
  return 0;
}